package com.bestvike.stone.spring.client.ssl;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * Created by 许崇雷 on 2018/7/18.
 */
public final class SkipHostnameVerifier implements HostnameVerifier {
    static final SkipHostnameVerifier DEFAULT = new SkipHostnameVerifier();

    private SkipHostnameVerifier() {
    }

    @Override
    public boolean verify(String hostname, SSLSession session) {
        return true;
    }
}
